<style>
.portlet{display:inline;}
.portlet-content{display:inline;}
</style>
<form action="<?php echo Yii::app()->createUrl(Yii::app()->controller->id.'/index',array('menupanel'=>$_GET['menupanel']));?>" name="searchForm" style="display:inline;margin-left:10px;">

<?php 
if(Yii::app()->controller->id==='admin'){
    echo '<b>登录名</b>';
    echo '&nbsp;'.CHtml::textField('login_name',isset($_GET['login_name']) ? $_GET['login_name'] : '').'&nbsp;';
}
else if(Yii::app()->controller->id==='systemfiles'){
    echo '<b>模块路径</b>';
    echo '&nbsp;'.CHtml::textField('file_path',isset($_GET['file_path']) ? $_GET['file_path'] : '').'&nbsp;';
} 
	
if(Yii::app()->controller->id==='admin'){
    echo '<b>管理员组</b>';
    echo CHtml::dropDownList('group_id',isset($_GET['group_id']) ? $_GET['group_id'] : 0,$groupData).'&nbsp;&nbsp;';
}else{
//    echo '<b>标题</b>';
}
?>
<button class="sexybutton  " onclick="this.form.submit();"><span><span>查询</span></span></button>
</form>